import Vue from "vue";
import VueRouter from "vue-router";

import MyFrist from "@/views/MyFrist.vue";
import MyFenlei from "@/views/MyFenlei.vue";
import MyDingdan from "@/views/MyDingdan.vue";
import MyUser from "@/views/MyUser.vue";

Vue.use(VueRouter);

const router = new VueRouter({
  routes: [
    // { path: "/", redirect: "/myfrist" },
    { path: "/myfrist", component: MyFrist },
    { path: "/myfenlei", component: MyFenlei },
    { path: "/mydingdan", component: MyDingdan },
    { path: "/myuser", component: MyUser },
  ],
});

export default router;
